ShortPixel\Controller\OtherMediaController B

Total Complexity 86
Dependencies 5
Dependents 9
Total lines 576
Lines of code 397
Logical lines of code 224
Comment lines 51
Methods 24
Properties 4

Methods 24

Method Rating Maintainability Complexity Lines of code
browseFolder()
B
37 18 72
getFolders()
A
44 11 47
checkifMediaLibrary()
A
48 10 33
addDirectory()
A
49 7 34
doNextRefreshableFolder()
S
44 5 47
checkDirectoryRecursive()
S
55 5 23
addImage()
S
52 4 25
hasCustomImages()
S
57 4 18
getCustomImageByPath()
S
60 2 13
loadFoldersFromResult()
S
66 2 9
getActiveDirectoryIDS()
S
65 2 9
getFolderByID()
S
65 2 9
getInstance()
S
73 2 5
showMenuItem()
S
68 2 8
cleanUp()
S
68 1 7
resetCheckedTimestamps()
S
70 1 6
__construct()
S
81 1 3
getFolderByPath()
S
76 1 4
getHiddenDirectoryIDS()
S
70 1 6
getActiveFolders()
S
75 1 4
getAllFolders()
S
76 1 4
getMetaTable()
S
76 1 4
getFolderTable()
S
76 1 4
hasFoldersTable()
S
80 1 3